
package com.wn.factory;

import com.wn.entity.Chinese;
import com.wn.entity.Jap;
import com.wn.entity.Person;

public class StaticPersonFactory {
    public static Person createPerson(){
        return new Chinese("11");
    }

    public Person createJap() {
        return new Jap();
    }
}

